/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package de.tor.util.types;

import java.awt.image.BufferedImage;
import java.io.File;
import javax.imageio.ImageIO;

/**
 *
 * @author Charon
 */
public class Screen {

    private String sPath = null;
    private BufferedImage mImage = null;

    public Screen(String pPath) throws Exception {
        sPath = pPath;
        reloadScreen();
    }

    private void reloadScreen() throws Exception {
        mImage = ImageIO.read(new File(sPath));
    }

    public String getPath(){
        return sPath;
    }

    public BufferedImage getImage() {
        return mImage;
    }
}
